package com.example.order;

import com.example.feign.clients.UserClient;
import com.example.feign.configuration.FeignClientConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("com.example.order.mapper")
@EnableFeignClients(defaultConfiguration = FeignClientConfiguration.class,clients = {UserClient.class})
// @EnableEurekaClient
public class OrderServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(OrderServiceApplication.class, args);
	}



}
